package my.graduation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import my.graduation.entity.ExaminationRecord;
import my.graduation.entity.RegistrationRecord;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.time.LocalDate;
import java.util.List;

/**
 * @Author: RavenLyn
 * @Date: 2025-02-26
 */
@Mapper
public interface ExaminationRecordMapper extends BaseMapper<ExaminationRecord> {
    Boolean updateStatus(Integer orderId, Integer status);

    Boolean paySuccess(Integer orderId, Integer status, Timestamp payTime);

    List<ExaminationRecord> getListByClinicIdList(List<Integer> clinicIdList);

    int getCount(Integer patientId, LocalDate today);
}
